﻿using System.Configuration;

namespace XYAuto.ChiTu.Config
{
    public static class SectionInvoke<T>
       where T : ConfigurationSection
    {
        public static T GetConfig(string sectionName)
        {
            return (T)ConfigurationManager.GetSection(sectionName);
        }
    }
}